Fix gdk_window_get_geometry for native children with non-native parent
authorAlexander Larsson <alexl@redhat.com>
Sun, 16 Aug 2009 20:24:00 +0000 (22:24 +0200)
committerAlexander Larsson <alexl@redhat.com>
Sun, 16 Aug 2009 20:27:19 +0000 (22:27 +0200)
commit528546733f1da859cb8041829abe0ae677d9a46d
tree2a506ee2ddffd88984387246382cfebeeba5b6e9
parent03018f1d012a167345aab66a259d236c450afe3a
Fix gdk_window_get_geometry for native children with non-native parent

gdk_window_get_geometry calls the native function for all non-native
windows. This returns coords relative to the native parent. We need
to convert this to be relative to the client side parent.

This fixes DnD coordinates in firefox (bug 588437).
gdk/gdkwindow.c